﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Entries
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("AgvMapStatus")]
    public partial class AgvMapStatus
    {
           public AgvMapStatus(){

            this.Name =Convert.ToString("");
            this.PLCAddress =Convert.ToString("");
            this.DeviceType =Convert.ToInt32("0");
            this.Status =Convert.ToInt32("0");
            this.Size =Convert.ToInt32("0");
            this.PLCStatusAddress =Convert.ToString("");
            this.IsRun =false;

           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Name {get;set;}

           /// <summary>
           /// Desc:PLC对应地址
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string PLCAddress {get;set;}

           /// <summary>
           /// Desc:设备类型
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int DeviceType {get;set;}

           /// <summary>
           /// Desc:状态（0：空闲，1：有治具有料，2：有治具无料，3：入料中，3：出料中）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Status {get;set;}

           /// <summary>
           /// Desc:尺寸
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Size {get;set;}

           /// <summary>
           /// Desc:设备状态地址
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string PLCStatusAddress {get;set;}

           /// <summary>
           /// Desc:是否运行
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool IsRun {get;set;}

    }
}
